#ifdef NNZ_ALLEGRO_WINDOW_H
#define NNZ_ALLEGRO_WINDOW_H

#include "allegrowindow.h"

class CAlButton :
	public CAllegroWindow
{
public:
	CAlButton(void);
	virtual ~CAlButton(void);

	//checks mouse buttons and cursor position
	virtual bool IsInside(int px,int py);

	virtual void Draw(BITMAP* sb);

	void OnClick();

protected:
	bool m_clicked;
	bool m_hover;
};

#endif